package cn.hchaojie.camp.day05;

public class Student {

	
	public class Parent implements Listener {
		@Override
		public void onStudy() {
			System.out.println("孩子辛苦了。。。");
		}
	}
	
	public static class Teacher implements Listener {
		@Override
		public void onStudy() {
			System.out.println("学生真努力。。。");
		}
	}
	
	interface Listener {
		void onStudy();
	}
}

